<template>
  <div>
    <el-button type="danger" icon="el-icon-delete" round>危险按钮</el-button>
    <el-button type="warning" icon="el-icon-edit">警告按钮</el-button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      name: 'james'
    }
  },
  mounted() {
    const path = this.$route.path
    console.log(`当前路由地址: ${path}`)
  }
}
</script>

<style></style>
